package example;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.util.Date;

/**
 * @Author: luobiao
 * @Date: 2024/3/9 14:11
 * @Description:
 */
public class ParamsVo {
    @NotNull(message = "类型不能为空")
    @Schema(description = "用户类型")
    private String type;
    @Schema(description = "时间范围")
    private Date time;

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "ParamsVo{" +
                "type='" + type + '\'' +
                ", time=" + time +
                '}';
    }
}
